$OpenBSD: patch-make_target_mk,v 1.1 2016/06/30 07:18:19 jasper Exp $
--- make/target.mk.orig	Tue Jun 23 20:56:21 2015
+++ make/target.mk	Thu Jun 25 13:47:10 2015
@@ -25,6 +25,7 @@ ifeq ($(OVERRIDE_TARGET),)
 ifeq ($(TARGET),)
 
 TARGET := $(shell $(ERL_TOP)/erts/autoconf/config.guess)
+TARGET := $(shell $(ERL_TOP)/erts/autoconf/config.sub $(TARGET))
 
 else
 
